
# RELEASE = True
RELEASE = False

if RELEASE:
    import json, os

    if os.path.exists("parameters.json"):
        with open("parameters.json", "r") as paraJsonFile:
            para = json.load(paraJsonFile)
    elif os.path.exists("parameters/parameters.json"):
        with open("parameters/parameters.json", "r") as paraJsonFile:
            para = json.load(paraJsonFile)
    else:
        para = None
        raise Exception("parameters.json load fail!")

else:
    from .parameters import para



# print(para)